//
//  UIView+YJSeparator.h
//
//
//  Created by SJ on 2020/10/15.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (YJSeparator)

@property (nonatomic, assign) CGFloat yj_separatorWidth;
@property (nonatomic, strong) UIColor *yj_separatorColor;
@property (nonatomic, assign) BOOL yj_showTopSeparator;
@property (nonatomic, assign) BOOL yj_showBottomSeparator;
@property (nonatomic, assign) BOOL yj_showLeftSeparator;
@property (nonatomic, assign) BOOL yj_showRightSeparator;
@property (nonatomic, assign) UIEdgeInsets yj_topSeparatorInsets;
@property (nonatomic, assign) UIEdgeInsets yj_bottomSeparatorInsets;
@property (nonatomic, assign) UIEdgeInsets yj_leftSeparatorInsets;
@property (nonatomic, assign) UIEdgeInsets yj_rightSeparatorInsets;

/// 设置默认分割线颜色
+ (void)yj_setDefaultSeparatorColor:(UIColor *)color;

@end

NS_ASSUME_NONNULL_END
